home *** CD-ROM | disk | FTP | other *** search
/ PsL Monthly 1996 November / PsL Monthly 1996 November.iso / filesbbs / comb_bbs.bat next >
DOS Batch File  |  1996-10-10  |  809b  |  39 lines

  1. @echo off
  2. if .%1==. goto prompt
  3. goto doit
  4. :prompt
  5. echo  
  6. echo syntax:  COMB_BBS [destination drive, path, and file name]
  7. echo example: COMB_BBS C:\FILES.BBS
  8. echo (NOTE: You MUST enter drive and path, as well as file name)
  9. echo  
  10. goto done
  11. :doit
  12. if not exist %1 goto Ok
  13. echo  
  14. echo %1 already exists. Press Ctrl-Break to abort or
  15. pause
  16. :Ok
  17. cd dos
  18. echo Reading \FILESBBS\DOS directory:
  19. ..\combine *.* %1 DOS\ /A
  20. cd ..\win
  21. echo  
  22. echo Reading \FILESBBS\WIN directory:
  23. ..\combine *.* %1 WIN\ /A
  24. cd ..\os2
  25. echo  
  26. echo Reading \FILESBBS\OS2 directory:
  27. ..\combine *.* %1 OS2\ /A
  28. echo  
  29. cd ..\HOME_DOS
  30. echo Reading \FILESBBS\HOME_DOS directory:
  31. ..\combine *.* %1 HOME_DOS\ /A
  32. cd ..
  33. echo  
  34. echo ---DONE---
  35. echo Press ENTER to view %1 or Ctrl-Break to quit.
  36. pause
  37. ..\view %1
  38. :done
  39.